package dryven.request.controller.paramtransform.baseimpl;

import java.lang.annotation.Annotation;

import dryven.request.controller.paramtransform.ActionParameterTransformCandidate;
import dryven.request.controller.paramtransform.ActionParameterTransformFeedback;
import dryven.request.http.HttpUtils;
import dryven.request.http.Request;

public class UrlDecodeTransformer implements ActionParameterTransformCandidate {

	@Override
	public Object apply(Class<?> type, Annotation[] annotations,
			Object currentValue, Request reauest) {
		return HttpUtils.URLDecode(currentValue.toString());
	}

}
